﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ScytheEngine
{
	public class SceneManager
    {
		#region Data Members
		
		private SceneGraphNode m_Root;

		#endregion

		#region Ctors

		public SceneManager()
		{
			m_Root = new SceneGraphNode();
		}

		#endregion

		#region Methods

		public void AddObject(Object newObj)
		{
			ObjectNode newObjNode = new ObjectNode( newObj );
			m_Root.AddNode( newObjNode );
		}

        public void ClearScene()
        {
            m_Root.ClearChildrenNodes();
        }

		#endregion

		#region Properties
		
		public SceneGraphNode Root
		{
			get { return m_Root; }
		}

		#endregion
	}
}
